package com.guidance.guidance.repository;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import com.guidance.guidance.domain.ActivityInformation;
import com.guidance.guidance.domain.FristMessage;

public interface FristMessageRepository extends JpaRepository<FristMessage,String>{
	
	//通过活动信息的id查找对应的留言信息
//	public Page<FristMessage> findByActivityInformation_Id(String act_id ,Pageable pageable);
	
	public List<FristMessage> findByAI(ActivityInformation aif);
}
